package com.lx.springredisdata;

import com.lx.util.RedisUtil;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.ConfigurableApplicationContext;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@ComponentScan(basePackages = "com.lx.util")
public class SpringRedisDataApplication {

    public static void main(String[] args) {
        ConfigurableApplicationContext context = SpringApplication.run(SpringRedisDataApplication.class, args);
       /* RedisUtil bean = context.getBean(RedisUtil.class);
        for (int i = 0; i < 11; i++) {
            System.out.println(bean.check("13"));
        }*/

        //http://127.0.0.1:8081/getlist      60   10


    }

}
